powerpc: Remove __ilog2_u64 and ffs4 from bitops
authorFabio Estevam <[email protected]>
Thu, 5 Nov 2015 14:43:40 +0000 (12:43 -0200)
committerTom Rini <[email protected]>
Thu, 5 Nov 2015 21:47:05 +0000 (16:47 -0500)
commit2d2f490dd594a9a3fcf3649f572e910771007962
tree56c3aa67cae4dd85e681e437f931951c54ba15da
parentf8fdb81f6cbf9387fee7a8ab82b315798a7038ba
powerpc: Remove __ilog2_u64 and ffs4 from bitops

Remove __ilog2_u64 and ffs4 from powerpc bitops to align with the
kernel implementation.

Use the generic __ffs64 instead of a custom powerpc implementation.

Cc: York Sun <[email protected]>
Signed-off-by: Fabio Estevam <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
arch/powerpc/cpu/mpc83xx/law.c
arch/powerpc/cpu/mpc85xx/tlb.c
arch/powerpc/cpu/mpc8xxx/law.c
arch/powerpc/include/asm/bitops.h
arch/powerpc/include/asm/fsl_law.h
arch/powerpc/include/asm/fsl_srio.h